home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
ACORNUSERS
/
CBSA
/
EDUCATION
/
WINDOW
/
h
/
IconData
< prev
next >
Wrap
Text File
|
1998-03-07
|
984b
|
58 lines
//-----------------------------------
// IconData.h
//-----------------------------------
#ifndef IconData_H
#define IconData_H
union IconData
{
char text[12];
char sprite_name[12];
struct IndirectText
{
char *text;
char *filter;
int text_lenght;
} indirect_text;
struct IndirectSprite
{
union
{
int *sprite;
char *sprite_name;
};
int *sprite_area;
int isname;
}indirect_sprite;
struct IndirectMixte
{
char *text;
char *filter;
int text_lenght;
}indirect;
};
struct IconBlock
{
int xmin; int ymin;
int xmax; int ymax;
int flags;
//------------------------- IconData -----------------------//
union
{
char text[12];
char sprite_name[12];
struct IconData::IndirectText indirect_text;
struct IconData::IndirectSprite indirect_sprite;
struct IconData::IndirectMixte indirect;
};
//------------------------------------------------------------
};
#endif